# -*- mode: snippet -*-
# name : class ... { ... }
# key: class
# --
class ${1:Name} {
public:
    ${2:${1:$(yas/substr text "[^: ]*")}($3);
    virtual ~${1:$(yas/substr text "[^: ]*")}();}$0
};